From: Keir Fraser Date: Mon, 15 Feb 2010 17:49:14 +0000 (+0000) Subject: If the 'sched' parameter is unrecognized, choose the first scheduler X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12598 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=1b79179e637294d940636b438d292e943904f628;p=xen.git If the 'sched' parameter is unrecognized, choose the first scheduler Signed-off-by: George Dunlap --- diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 600baeac05..3b4be55d79 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -929,7 +929,10 @@ void __init scheduler_init(void) } if ( schedulers[i] == NULL ) + { printk("Could not find scheduler: %s\n", opt_sched); + ops = *schedulers[0]; + } printk("Using scheduler: %s (%s)\n", ops.name, ops.opt_name); SCHED_OP(init);